package com.bckj.fastboot.iot.common.dto.ctx;

import com.bckj.fastboot.iot.common.enums.IotDeviceState;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * IotDeviceContext
 *
 * @author wfc
 **/
@Data
@Accessors(chain = true)
public class IotDeviceContext {

    private IotDeviceState from;
    private IotDeviceState to;

    private Long id;
    private String devCode;
    private String heartbeatTime;

    public static IotDeviceContext create() {
        return new IotDeviceContext();
    }
}
